package structure.composite.transparent;


/**
 * 骑兵
 */
public class cavalry extends Armys {

    public cavalry() {
        super("骑兵");
    }

    @Override
    public void display() {
        System.out.println("cavalry{" +
                "name='" + name + '\'' +
                '}');
    }
}
